package cn.dakaqi.entities;

import org.apache.commons.lang3.builder.ToStringBuilder;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * Created by chunyang on 2016/4/19.
 */
@Entity
@Table(name = "U_PINGAN_OPEN")
public class PinganOpen extends IdEntity
{

    public static final int STATUS_NO = 0;
    public static final int STATUS_YES = 1;
    private static final long serialVersionUID = -3125598736499022382L;
    private String sn;// '流水号',
    private String memberCode;//会员编号
    private String volunteerCode;//'志愿者编号',
    private String name;//'姓名',
    private String mobile;//'手机号码',
    private String idCard;//'身份证',
    private String guardianName;//'监护人姓名',
    private String guardianMobile;//'监护人电话',
    private String guardianIDCard;//'监护人身份证',
    private String cardNum;//'银行卡号',
    private Date createTime;//'记录时间',
    private String platform;//'平台编号',
    private int status;//'是否激活 0未 1已',
    private String activateSn;//'激活流水号',
    private Date activateTime;//'记录时间',
    private String customer;//来源标识

    public PinganOpen()
    {
    }

    public String getCustomer()
    {
        return customer;
    }

    public void setCustomer(String customer)
    {
        this.customer = customer;
    }

    public String getMemberCode()
    {
        return memberCode;
    }

    public void setMemberCode(String memberCode)
    {
        this.memberCode = memberCode;
    }

    public String getSn()
    {
        return sn;
    }

    public void setSn(String sn)
    {
        this.sn = sn;
    }

    public String getVolunteerCode()
    {
        return volunteerCode;
    }

    public void setVolunteerCode(String volunteerCode)
    {
        this.volunteerCode = volunteerCode;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getMobile()
    {
        return mobile;
    }

    public void setMobile(String mobile)
    {
        this.mobile = mobile;
    }

    public String getIdCard()
    {
        return idCard;
    }

    public void setIdCard(String idCard)
    {
        this.idCard = idCard;
    }

    public String getGuardianName()
    {
        return guardianName;
    }

    public void setGuardianName(String guardianName)
    {
        this.guardianName = guardianName;
    }

    public String getGuardianMobile()
    {
        return guardianMobile;
    }

    public void setGuardianMobile(String guardianMobile)
    {
        this.guardianMobile = guardianMobile;
    }

    public String getGuardianIDCard()
    {
        return guardianIDCard;
    }

    public void setGuardianIDCard(String guardianIDCard)
    {
        this.guardianIDCard = guardianIDCard;
    }

    public String getCardNum()
    {
        return cardNum;
    }

    public void setCardNum(String cardNum)
    {
        this.cardNum = cardNum;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public String getPlatform()
    {
        return platform;
    }

    public void setPlatform(String platform)
    {
        this.platform = platform;
    }

    public int getStatus()
    {
        return status;
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public String getActivateSn()
    {
        return activateSn;
    }

    public void setActivateSn(String activateSn)
    {
        this.activateSn = activateSn;
    }

    public Date getActivateTime()
    {
        return activateTime;
    }

    public void setActivateTime(Date activateTime)
    {
        this.activateTime = activateTime;
    }

    @Override
    public String toString()
    {
        return ToStringBuilder.reflectionToString(this);
    }
}
